home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global gGraphWizard
- setUpMe(gGraphWizard)
- showMe(gGraphWizard)
- set the keyDownScript to "checkForKeyboardShortCuts"
- end
-
- on checkForKeyboardShortCuts
- global gGraphWizard
- if the machineType = 256 then
- theModifier = the controlDown
- else
- theModifier = the commandDown
- end if
- if theModifier then
- if (the keyPressed = "o") and (getPageNum(gGraphWizard) = 1) then
- simulateClickOn(getOpenButton(gGraphWizard))
- else
- if the keyPressed = "h" then
- simulateClickOn(getHelpButton(gGraphWizard))
- else
- if the keyPressed = "s" then
- simulateClickOn(getSaveButton(gGraphWizard))
- else
- if the keyPressed = "w" then
- simulateClickOn(getCloseBox(gGraphWizard))
- else
- if (the keyPressed = "x") and (getPageNum(gGraphWizard) = 4) then
- simulateClickOn(getcutButton(gGraphWizard))
- else
- if (the keyPressed = "c") and (getPageNum(gGraphWizard) = 4) then
- simulateClickOn(getCopyButton(gGraphWizard))
- else
- if (the keyPressed = "v") and (getPageNum(gGraphWizard) = 4) then
- simulateClickOn(getPasteButton(gGraphWizard))
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end
-
- on CloseMIAW
- global gGraphWizard
- closeMe(gGraphWizard)
- end
-
- on OneTimeResizeTable
- repeat with n = the number of member "body" to the number of member "corner"
- repeat with R = 1 to member(n).rowCount
- setRowHeight(member(n), R, 24)
- repeat with c = 1 to member(n).columnCount
- setTextSize(member(n), point(c, R), 9)
- setWinTextFont(member(n), point(c, R), "Arial")
- setMacTextFont(member(n), point(c, R), "Helvetica")
- setVAlign(member(n), point(c, R), "center")
- end repeat
- end repeat
- end repeat
- end
-
- on putTableProps whichTable
- put "borderSize = ", whichTable.borderSize
- put "hCellSpacing = ", whichTable.hCellSpacing
- put "vCellSpacing = ", whichTable.vCellSpacing
- put "stdRowHeight = ", whichTable.stdRowHeight
- put "stdColumnWidth = ", whichTable.stdColumnWidth
- put "defaultTextFont = ", whichTable.defaultTextFont
- put "defaultMacTextFont = ", whichTable.defaultMacTextFont
- put "defaultWinTextFont = ", whichTable.defaultWinTextFont
- put "defaultTextSize = ", whichTable.defaultTextSize
- put "defaultTextStyle = ", whichTable.defaultTextStyle
- put "defaultHAlign = ", whichTable.defaultHAlign
- put "defaultVAlign = ", whichTable.defaultVAlign
- repeat with n = 1 to whichTable.rowCount
- put "getRowHeight(" & n & ") = ", getRowHeight(whichTable, n)
- end repeat
- repeat with n = 1 to whichTable.columnCount
- put "getColumnWidth(" & n & ") = ", getColumnWidth(whichTable, n)
- end repeat
- end
-